package com.example.mapper;

import com.example.entity.Role;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface RoleMapper {
    Role selectRoleWithMenusById(Long roleId);
    Role selectRoleWithMenusByRoleKey(String roleKey);
    List<Role> selectAllRoles();
}